package com.shirley.netty.udp.server;

import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.DatagramChannel;


public class UdpServerChannelInit extends ChannelInitializer<DatagramChannel> {


    @Override
    protected void initChannel(DatagramChannel ch) throws Exception {
        ch.pipeline()
                .addLast(new UdpServerInputMsgHandler());
    }
}
